﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Snake
{
    class object2D
    {
        Texture2D f_texture;
        Vector2 f_pos;

        public object2D(Texture2D texture, Vector2 pos)
        {
            f_texture = texture;
            f_pos = pos;
        }
        public Texture2D texture 
        {
            get {return f_texture ;}
            set {f_texture = value ;} 
        }
        public Vector2 pos
        {
            get { return f_pos; }
            set { f_pos = value; }
        }
    }
}
